/**
 * jims
 */
package com.jims.master.modules.sync.service;
import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.sync.dao.LabResultDao;
import com.jims.master.modules.sync.entity.LabResult;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 检验结果Service
 * @author ct
 * @version 2017-12-06
 */
@Service
@Transactional(readOnly = true)
public class LabResultService extends CrudService<LabResultDao, LabResult> {

	@Override
    public LabResult get(String id) {
		return super.get(id);
	}
	
	@Override
    public List<LabResult> findList(LabResult labResult) {
		return super.findList(labResult);
	}
	
	@Override
    public Page<LabResult> findPage(Page<LabResult> page, LabResult labResult) {
		return super.findPage(page, labResult);
	}
	
	@Override
    @Transactional(readOnly = false)
	public int save(LabResult labResult) {
		return super.save(labResult);
	}
	
	@Override
    @Transactional(readOnly = false)
	public int delete(LabResult labResult) {
		return super.delete(labResult);
	}

	public List<LabResult> getResultList(String id){
		return dao.getResultList(id);
	}
	
}